{include file="public/layout" /}
<style type="text/css">
    .layer-tips-img .layui-layer-content {
        background: #fff;
    }
    .layer-tips-img .layui-layer-content img {
        padding: 10px;
        background: #fff;
    }
    .channel-manage-card .left-btn .btn-no{
        cursor:pointer !important;
    }
    .explanation{
        padding: 15px 0 13px 12px;
        margin-bottom: 30px;
    }
    .ey-btn{
        color: red;
    }
</style>
<script type="text/javascript" src="__SKIN__/js/clipboard.min.js"></script>
<body class="bodystyle" style="cursor: default; -moz-user-select: inherit;">
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page min-hg-c-10">
    <div id="" class="explanation f-16 ">
        <li>当前系统为体验版，部分功能不可用，如需使用更多功能请前往 <a class="ey-btn" href="https://www.45cshop.com/#buy" target="_blank">45°商城官网</a> 购买授权</li>
    </div>
    <div class="flexigrid" style="min-height: 600px;">
        <div class="channel-buy">
            <div class="cards">
                <div class="channel-manage-card">
                    <div class="nexts">
                        <div class="left">
                            <div class="image"><img src="__SKIN__/images/icon-channel-pc.png"></div>
                            <div class="left-content">
                                <p class="title">
                                    <span class="title-name">PC商城</span>
                                    {empty name="$web.web_status_pc"}
                                    <em class="ml5 green f-14">已开启 </em>
                                    {else/}
                                    <em class="ml5 red f-14"> 已关闭 </em>
                                    {/empty}
                                        
                                </p>
                                <p class="text" style="width: auto;"> 开启您个人PC时代的电商商城 </p>
                            </div>
                        </div>
                        <!-- <div class="right">
                            <span class="right-image"><i class="iconfont e-erweima"></i></span>
                        </div> -->
                    </div>
                    <p class="left-btn">
                        
                        <a href="{:url('Pc/settings')}" class="ey-btn"> 管理PC端 </a>
                        <a class="ey-btn" href="{$home_url}" target="_blank"> 预览 </a>
                      
                            
                    </p>
                </div>
            </div>
           
            <div class="cards">
                <div class="channel-manage-card">
                    <div class="nexts">
                        <div class="left">
                            <div class="image"><img src="__SKIN__/images/icon-channel-wechat.png"></div>
                            <div class="left-content">
                                <p class="title"><span class="title-name">微信公众号</span></p>
                                <p class="text" style="width: auto;"> 借助海量流量，玩转微信生态 </p>
                            </div>
                        </div>
                        <!-- <div class="right">
                            <span class="right-image"><i class="iconfont e-erweima notic-pic"><img src="{$gzh.logo}" width="200"></i></span>
                        </div> -->
                    </div>
                    <p class="left-btn">
                        <a class="btn-no ey-btn" href="https://www.45cshop.com/#buy" target="_blank">  高级版专属，马上升级 </a>
                    </p>
                </div>
            </div>
            <div class="cards">
                <div class="channel-manage-card">
                    <div class="nexts">
                        <div class="left">
                            <div class="image"><img src="__SKIN__/images/icon-channel-browser.png"></div>
                            <div class="left-content">
                                <p class="title"><span class="title-name">手机浏览器H5</span></p>
                                <p class="text" style="width: auto;"> WAP网页商城，广泛覆盖移动市场 </p>
                            </div>
                        </div>
                        <!-- <div class="right">
                            <span class="right-image"><i class="iconfont e-erweima notic-pic"><img src="{$h5.h5_qrcodeurl}" width="200"></i></span>
                        </div> -->
                    </div>
                    <p class="left-btn">
                        <a class="btn-no ey-btn" href="https://www.45cshop.com/#buy" target="_blank">  高级版专属，马上升级 </a>
                    </p>
                </div>
            </div>

            <div class="cards">
                <div class="channel-manage-card">
                    <div class="nexts">
                        <div class="left">
                            <div class="image">
                                <div class="image"><img src="__SKIN__/images/icon-channel-wechatapplet.png"></div>
                            </div>
                            <div class="left-content">
                                <p class="title"><span class="title-name">微信小程序</span></p>
                                <p class="text" style="width: auto;"> 一键生成，连接微信触手可及 </p>
                            </div>
                        </div>
                        <!-- <div class="right">
                            <span class="right-image"><i class="iconfont e-erweima notic-pic"><img src="{$weixin.weixin_qrcodeurl|default=''}" width="200"></i></span>
                        </div> -->
                    </div>
                    <p class="left-btn">
                        <a class="btn-no ey-btn" href="https://www.45cshop.com/#buy" target="_blank">  高级版专属，马上升级 </a>
                    </p>
                </div>
            </div>
            <div class="cards">
                <div class="channel-manage-card">
                    <div class="nexts">
                        <div class="left">
                            <div class="image"><img src="__SKIN__/images/icon-channel-douyin.png"></div>
                            <div class="left-content">
                                <p class="title"><span class="title-name">抖音小程序</span></p>
                                <p class="text" style="width: auto;"> 结合视频、直播高效场景搭建，流量轻松变现 </p>
                            </div>
                        </div>
                        <!-- <div class="right">
                            <span class="right-image"><i class="iconfont e-erweima notic-pic"><img src="{$toutiao.toutiao_qrcodeurl|default=''}" width="200"></i></span>
                        </div> -->
                    </div>
                    <p class="left-btn" >
                        <!-- <a href="{:url('Canal/conf_toutiao_api')}" class="ey-btn">管理抖音小程序 </a> -->
                        <a class="btn-no ey-btn" href="https://www.45cshop.com/#buy" target="_blank">高级版专属，马上升级</a>
                    </p>
                </div>
            </div>
            
          
            <div class="cards">
                <div class="channel-manage-card">
                    <div class="nexts">
                        <div class="left">
                            <div class="image"><img src="__SKIN__/images/icon-channel-baidu.png"></div>
                            <div class="left-content">
                                <p class="title"><span class="title-name">百度小程序</span></p>
                                <p class="text" style="width: auto;"> 天然搭配百度图文场景，信息流分发带货转化 </p>
                            </div>
                        </div>
                        <!-- <div class="right">
                            <span class="right-image"><i class="iconfont e-erweima notic-pic"><img src="{$baidu.baidu_qrcodeurl|default=''}" width="200"></i></span>
                        </div> -->
                    </div>
                    <p class="left-btn">
                        <!-- <a href="{:url('Canal/conf_bd_api')}" class="ey-btn"> 管理百度小程序 </a> -->
                        <a class="btn-no ey-btn" href="https://www.45cshop.com/#buy" target="_blank"> 开发中 </a>
                    </p>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/javascript">
    var php_servicemeal = {$php_servicemeal|default='0'};
    // 设置快递公司
    function selecth5_link() {
        var url = "{:url('Canal/h5_link_conf')}";
        //iframe窗
        layer.open({
            type: 2,
            title: 'H5端设置',
            move: false,
            shadeClose: false,
            maxmin: false, //开启最大化最小化按钮
            shade: layer_shade,
            closeBtn: 3,
            area: ['50%', '60%'],
            content: url
        });
    }

    function changeStatus0426(obj) {
        var name = $(obj).data('name');
        var value = $(obj).data('value');
      
        layer_loading('正在处理');
        $.ajax({
            type: 'POST',
            url : "{:url('Canal/change_status', ['_ajax'=>1])}",
            data: {name: name, value: value},
            dataType: 'json',
            success: function(res) {
                layer.closeAll();
                if (1 === parseInt(res.code)) {
                    if ('web_status_pc' == name) {
                        if (0 == value) {
                            var pc_url = $("#pc_home_url", window.parent.document).attr('data-pc_url');
                            $("#pc_home_url", window.parent.document).attr('href', pc_url).show(); 
                        } else {
                            $("#pc_home_url", window.parent.document).hide(); 
                        }
                    }
                    showSuccessMsg(res.msg, 1000, function() {
                        location.reload();
                    });
                } else {
                    showErrorAlert(res.msg);
                }
            },
            error:function (e) {
                showErrorAlert(e.responseText);
            }
        });
    }
  
    function showtext(classname) {
        var clipboard1 = new Clipboard("."+classname);
            clipboard1.on("success", function(e) {
                layer.msg("复制成功");
            });
            clipboard1.on("error", function(e) {
                layer.msg("复制失败！请手动复制", {icon:5});
            }); 
    }
</script>

{include file="public/footer" /}
